package DAO;

import Bean.OrderItem;

import java.util.List;

/**
 * @author jianjun
 * @Describe
 * @creat 2022-01-01-17:18
 */
public interface OrderItemDAO {
    /**
     * 保存订单项
     * @param orderItem
     */
    public int saveOrderItem(OrderItem orderItem);

    /**
     * 根据订单号查询订单明细
     * @param order_id
     * @return
     */
    public List<OrderItem> queryOrderItemsByOrderId(String order_id);
}
